<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8"> <!-- 声明字符编码为UTF-8 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>爱心与人名</title>
    <style>
        /* 爱心样式 */
        .heart {
            position: relative;
            width: 100px;
            height: 90px;
            margin: 50px auto;
        }
        .heart::before,
        .heart::after {
            position: absolute;
            content: "";
            left: 50px;
            top: 0;
            width: 50px;
            height: 80px;
            background: red;
            border-radius: 50px 50px 0 0;
            transform: rotate(-45deg);
            transform-origin: 0 100%;
        }
        .heart::after {
            left: 0;
            transform: rotate(45deg);
            transform-origin: 100% 100%;
        }

        /* 布局容器 */
        .container {
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Arial, sans-serif;
            font-size: 24px;
            color: #333;
        }

        /* 人名样式 */
        .name-left, .name-right {
            margin: 0 20px; /* 调整人名的间距 */
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="name-left">谷圣旺</div> <!-- 左边的人名 -->
        <div class="heart"></div> <!-- 爱心 -->
        <div class="name-right">江楚君</div> <!-- 右边的人名 -->
    </div>
</body>
</html>